import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-lesson5',
  templateUrl: './lesson5.component.html',
  styleUrls: ['./lesson5.component.scss']
})
export class Lesson5Component implements OnInit {
  lists = [
    { name: '模板驱动表单'},
    { name: '模型驱动表单'},
    { name: 'HTML5表单'}
  ];
  active = 0;
  constructor() { }

  ngOnInit() {

  }

  changeTab(index: number) {
    this.active = index;
  }

}
